package za.org.jcicada.genss.sensor;

import java.io.Serializable;

/**
 * Records the current value information for a sensor, can be considered to be
 * the sampled state.
 * @author rcrida
 */
public interface ISensorValue extends Serializable {

    /**
     * Return the value's timestamp in milliseconds.
     *
     * @return  The time at which the sensor value was recorded in milliseconds since the Unix epoch.
     */
    long getTime();

    /**
     * @return the recorded value of the sensor.
     */
    Object getValue();
}
